package com.xcjh.dto;

import org.springframework.data.geo.Metric;

/**
 * 附近的数据
 */
public class LocationNear {

    private Object content;//附近的具体内容
    private double locationValue;//距离
    private Metric locationUnit;//距离单位

    public LocationNear(Object content, double locationValue, Metric locationUnit) {
        this.content = content;
        this.locationValue = locationValue;
        this.locationUnit = locationUnit;
    }

    public Object getContent() {
        return content;
    }

    public void setContent(Object content) {
        this.content = content;
    }

    public double getLocationValue() {
        return locationValue;
    }

    public void setLocationValue(double locationValue) {
        this.locationValue = locationValue;
    }

    public Metric getLocationUnit() {
        return locationUnit;
    }

    public void setLocationUnit(Metric locationUnit) {
        this.locationUnit = locationUnit;
    }
}
